package com.asset.dispoal.assetInstitutionBatchParameter.service.converter;

import com.asset.dispoal.assetInstitutionBatchParameter.domain.db.entity.AssetInstitutionBatchParameter;
import com.asset.dispoal.assetInstitutionBatchParameter.dto.AssetInstitutionBatchParameterRequest;
import com.asset.dispoal.assetInstitutionBatchParameter.dto.AssetInstitutionBatchParameterResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author qr
 * @date 2022/3/29$
 */
@Mapper
public interface AssetInstitutionBatchParameterConverter {


    AssetInstitutionBatchParameterConverter INSTANCE = Mappers.getMapper(AssetInstitutionBatchParameterConverter.class);

    AssetInstitutionBatchParameter reqToDo(AssetInstitutionBatchParameterRequest request);


    List<AssetInstitutionBatchParameter> reqsToDos(List<AssetInstitutionBatchParameterRequest> request);

    List<AssetInstitutionBatchParameterResponse> dosToRes(List<AssetInstitutionBatchParameter> batchParameterList);


}
